package com.efast.cafe.portal.dao.base;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.efast.cafe.portal.bean.base.BaseCompanyInfoBean;
import com.efast.cafe.portal.entity.base.BaseCompanyInfo;

/******************************************************************************
 * @File name   :      IBaseCompanyInfoDao.java
 *
 * @Author      :      fxm
 *
 * @Date        :      2016-6-27
 *
 * @Copyright Notice: 
 * Copyright (c) 2016 Efast Serv. All  Rights Reserved.
 * This software is published under the terms of the Efast Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2016-6-27 上午10:14:07        fxm     1.0            Initial Version
 *****************************************************************************/

public interface BaseCompanyInfoDao {

	/**
	 *通过code查找公司信息
	 * @Date        :      2016-9-5
	 * @param requestCompany
	 * @return
	 */
	BaseCompanyInfoBean queryByCompanyCode(@Param(value="requestCompany")String requestCompany);
	
	void updateCompany(BaseCompanyInfoBean baseCompanyInfoBean);
	
	 /**
     * 查询企业信息
     * @param i18nKey
     * @return
     */
    public List<BaseCompanyInfo> queryCompanys(@Param(value="i18nKey") String i18nKey,@Param(value="companyCode") String companyCode);
}
